﻿<%@ Page Language="C#" MasterPageFile="Page.master" AutoEventWireup="true" CodeFile="UserPane.aspx.cs"
    Inherits="qzEbook.webUI.UserPane" Title="用户控制面版" %>

<%@ Register Src="module/bookList.ascx" TagName="bookList" TagPrefix="uc1" %>
<%@ Register Src="module/editUserInfo.ascx" TagName="editUserInfo" TagPrefix="uc2" %>
<%@ Register Src="module/updatePwd.ascx" TagName="updatePwd" TagPrefix="uc3" %>
<%@ Register src="module/favoriteBookList.ascx" tagname="favoriteBookList" tagprefix="uc4" %>
<asp:Content ID="cheader" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript" src="js/ajax.js"></script>

    <script type="text/javascript" src="js/pageListAction.js"></script>
    <script type="text/javascript" src="js/UserAccount.js"></script>
</asp:Content>
<asp:Content ID="cbody" ContentPlaceHolderID="contentbody" runat="Server">
    <div id="siderbar">
        <div id="userpane">
            <asp:Label ID="userLb" runat="server" Text="Label"></asp:Label>
        </div>
        <div id="controlpane">
            <h3>
                用户控制:</h3>
            <ul>
                <li>
                    <asp:LinkButton ID="allBookLb" runat="server" OnClick="allBookLb_Click">我的电子书</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="favoriteBtn" runat="server" onclick="favoriteBtn_Click">我的藏书阁</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="addNewLb" runat="server" OnClick="addNewLb_Click">新增电子书</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="changeUerInfo" runat="server" OnClick="changeUerInfo_Click">修改用户信息</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="changeUserPwd" runat="server" OnClick="changeUserPwd_Click">修改密码</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="LinkButton2" Enabled="false" runat="server" >所有文章</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="LinkButton3" Enabled="false" runat="server" >新增文章</asp:LinkButton></li>
                <li>
                    <asp:LinkButton ID="LinkButton1" Enabled="false" runat="server" >主页订制</asp:LinkButton></li>
                <li>
                <a href="Login.xhtml?logout=1" title="退出">退出</a></li>
            </ul>
        </div>
    </div>
    <div id="maincontent">
        <asp:MultiView ID="MultiPlace" runat="server" ActiveViewIndex="0">
            <asp:View ID="booklistPlace" runat="server">
                <uc1:bookList ID="myBookList" runat="server" />
            </asp:View>
            <asp:View ID="favoriteBookView" runat="server">
                <uc4:favoriteBookList ID="favoriteBookList" runat="server" />
            </asp:View>
            <asp:View ID="changeInfo" runat="server">
                <uc2:editUserInfo ID="editUserInfo" runat="server" />
            </asp:View>
            <asp:View ID="changPwd" runat="server">
                <uc3:updatePwd ID="updatePwd" runat="server" />
            </asp:View>
        </asp:MultiView>
    </div>
    <div class="clear"></div>
</asp:Content>
